flowbox: Sink the floating reference of model-based children
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Aug 2015 12:32:35 +0000 (13:32 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Aug 2015 12:32:35 +0000 (13:32 +0100)
commit3de1bd383afddd3b530b612f8539d1866388b88d
treea3df46881545b7c1f6c148883ef8aa10d1c59e6b
parente8063bcb210d729297cd4667c6a5c23ac0b477fc
flowbox: Sink the floating reference of model-based children

We don't want to leak references if the widget created to represent the
item in the model does not have a floating reference — which is usually
what happens in bindings, as they automatically sink references when
creating new instances.

See commit 6e03e7e8 for the similar change in GtkListBox.
gtk/gtkflowbox.c